// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import VueResource from 'vue-resource'
import VueRouter from 'vue-router'
import wccia from '../static/js/wccia.js'
import wccconfig from '../static/js/wccconfig.js'
import utils from '../static/js/utils.js'

Vue.use(VueRouter)
Vue.use(VueResource)

Vue.config.productionTip = false
Vue.prototype.wccia = wccia//增加全局对象wccia，用于处理wccia协议
Vue.prototype.wccconfig = wccconfig
Vue.prototype.utils = utils

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
